﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddBusinessImageForm.aspx.cs" Inherits="FantastPlatform.Community.UI.InfoCollection.AddBusinessImageForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        var aif = new FantastPlatform.UI.AddImageForm({
            renderTo: 'aif_div',
            Id: '<%=GetId() %>',
            HouseId: '<%=GetHouseId() %>',
            btnEnable: '<%=GetbtnEnable() %>',
            CreatePoliceCode: '<%=GetCreatePoliceCode() %>',
            url: '../Service/BusinessService.aspx?Action=AddBusinessImage',
            getUrl: '../Service/BusinessService.aspx?Action=GetBusinessImage',
            tbar: [{
                text: '完成',
                iconCls: 'save',
                handler: function () {
                    if (typeof (abig) == 'undefined') {
                        submitFormJson(aif,null ,currtWind );
                    } else {
                        submitFormJson(aif, abig, currtWind);
                    }
                }
            }, '-', {
                text: '重置',
                iconCls: 'cancel',
                handler: function () { aif.form.reset(); }
            }]
        });  

    </script>
</head>
<body>
    <div id="aif_div">
    </div>
</body>
</html>
